gtkframe: remove unused variable
authorCarlos Soriano <csoriano@gnome.org>
Sat, 26 Dec 2015 19:52:31 +0000 (20:52 +0100)
committerCarlos Soriano <csoriano@gnome.org>
Sat, 26 Dec 2015 19:52:31 +0000 (20:52 +0100)
And fix the compiler warning

gtk/gtkframe.c

index b83317869a3787a9ff13b72d446d27f1f29e9b0e..da96b8f6c5d59c57434cbed691d4b94cb4e2c9db 100644 (file)
@@ -871,7 +871,6 @@ gtk_frame_real_compute_child_allocation (GtkFrame      *frame,
                                         GtkAllocation *child_allocation)
 {
   GtkFramePrivate *priv = frame->priv;
-  GtkWidget *widget = GTK_WIDGET (frame);
   GtkAllocation allocation;
   gint border_width, height;